<h1>Set a New Password</h1>

<%= form_for @authenticated_record,
  :as => :authenticated_record, :url => password_path(params[:id]),
  :html => {:method => :put, :id => 'edit_password'} do |f| %>
  <table class="form">
    <tr>
      <th><%= f.label :password %></th>
      <td><%= f.password_field :password %></td>
    </tr>
    <tr>
      <th><%= f.label :password_confirmation %></th>
      <td><%= f.password_field :password_confirmation %></td>
    </tr>
    <tr>
      <td></td>
      <td><%= f.submit 'Update' %></td>
    </tr>
  </table>
<% end %>
